[INFO] cloning repository https://github.com/philipwilk/rust-merge-sort
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipwilk/rust-merge-sort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipwilk%2Frust-merge-sort", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipwilk%2Frust-merge-sort'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54c6bf0e7ad941d432c88b5ddb2bee3ef3582e40
[INFO] checking philipwilk/rust-merge-sort against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipwilk%2Frust-merge-sort" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/philipwilk/rust-merge-sort
[INFO] finished tweaking git repo https://github.com/philipwilk/rust-merge-sort
[INFO] tweaked toml for git repo https://github.com/philipwilk/rust-merge-sort written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/philipwilk/rust-merge-sort on toolchain 89a99936d9e76a50e8df622e7242190841fd871b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/philipwilk/rust-merge-sort already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.35
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded cfg-if v1.0.0
[INFO] [stderr]   Downloaded tokio-macros v2.2.0
[INFO] [stderr]   Downloaded hermit-abi v0.3.3
[INFO] [stderr]   Downloaded adler v1.0.2
[INFO] [stderr]   Downloaded pin-project-lite v0.2.13
[INFO] [stderr]   Downloaded num_cpus v1.16.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.23
[INFO] [stderr]   Downloaded proc-macro2 v1.0.78
[INFO] [stderr]   Downloaded addr2line v0.21.0
[INFO] [stderr]   Downloaded miniz_oxide v0.7.1
[INFO] [stderr]   Downloaded backtrace v0.3.69
[INFO] [stderr]   Downloaded cc v1.0.83
[INFO] [stderr]   Downloaded memchr v2.7.1
[INFO] [stderr]   Downloaded syn v2.0.48
[INFO] [stderr]   Downloaded object v0.32.2
[INFO] [stderr]   Downloaded gimli v0.28.1
[INFO] [stderr]   Downloaded tokio v1.35.1
[INFO] [stderr]   Downloaded libc v0.2.152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:fd22e2154e7db748230f413534f3a6d034160c9d2b7c14b90fba4e9bfc1a36d4" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034
[INFO] running `Command { std: "docker" "start" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking rust-merge-sort v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `impl Future<Output = Vec<i32>>: Send`
[INFO] [stdout]    --> src/main.rs:18:17
[INFO] [stdout]     |
[INFO] [stdout]  18 |         taskSet.spawn(mergeSort(left));
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `impl Future<Output = Vec<i32>>: Send`
[INFO] [stdout] note: required by a bound in `JoinSet::<T>::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/task/join_set.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn spawn<F>(&mut self, task: F) -> AbortHandle
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 136 |         F: Send + 'static,
[INFO] [stdout]     |            ^^^^ required by this bound in `JoinSet::<T>::spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `impl Future<Output = Vec<i32>>: Send`
[INFO] [stdout]    --> src/main.rs:18:17
[INFO] [stdout]     |
[INFO] [stdout]  18 |         taskSet.spawn(mergeSort(left));
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: cannot satisfy `impl Future<Output = Vec<i32>>: Send`
[INFO] [stdout] note: required by a bound in `JoinSet::<T>::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/task/join_set.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn spawn<F>(&mut self, task: F) -> AbortHandle
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 136 |         F: Send + 'static,
[INFO] [stdout]     |            ^^^^ required by this bound in `JoinSet::<T>::spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `left` as mutable because it is also borrowed as immutable
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     for (i, x) in left.iter().enumerate() {
[INFO] [stdout]   |                   -----------------------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   immutable borrow occurs here
[INFO] [stdout]   |                   immutable borrow later used here
[INFO] [stdout] 6 |         if x < &right[i] {
[INFO] [stdout] 7 |             left.insert(i, right[i]);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `left` as mutable because it is also borrowed as immutable
[INFO] [stdout]  --> src/main.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     for (i, x) in left.iter().enumerate() {
[INFO] [stdout]   |                   -----------------------
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   immutable borrow occurs here
[INFO] [stdout]   |                   immutable borrow later used here
[INFO] [stdout] 6 |         if x < &right[i] {
[INFO] [stdout] 7 |             left.insert(i, right[i]);
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0283, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-merge-sort` (bin "rust-merge-sort") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-merge-sort` (bin "rust-merge-sort" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034", kill_on_drop: false }`
[INFO] [stdout] 6b3bb162c550a405ce129843638e34c3a5ecf678d60038b1a815e73c08494034
